import * as types from '../constants/actionTypes';
import initialState from '../../reducers/initialState';

export default function(state=initialState.session, action)
{
    switch(action.type){
        case types.CHANGE:
            return action.session;
        default:
            return state;
    }
}

// module.exports=session;
